/*
 * @Author: jiu yin
 * @Date: 2025-03-05 19:13:43
 * @LastEditTime: 2025-03-05 19:13:47
 * @LastEditors: jiu yin zhen jing
 * @FilePath: \web-mall-admin\src\utils\auth.ts
 */




//获取token
export const getToken = () => {
  return window.sessionStorage.getItem("token");
};
export const setToken = (str: string) => {
  return window.sessionStorage.setItem("token", str);
};


